package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * Author: 笨蛋超人不会飞
 * Date:  18:09
 */

public interface DishService {
    void save(DishDTO dishDTO);

    PageResult getAllDish(DishPageQueryDTO dishPageQueryDTO);

    void deleteByIds(List<Long> ids);

    DishVO getDishById(Long id);

    void update(DishDTO dishDTO);

    void changeStatus(Integer status, List<Long> ids);

    List<DishVO> listWithFlavor(Dish dish);

    List<Dish> list(Long categoryId);
}
